[INFO] cloning repository https://github.com/camphor-/sculd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/camphor-/sculd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamphor-%2Fsculd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamphor-%2Fsculd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69c059e5524e793aee88044ed670d9b87025f9ca
[INFO] documenting camphor-/sculd against nightly+rustdocflags=-Zunstable-options -wjson for pr-99919
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamphor-%2Fsculd" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/camphor-/sculd on toolchain nightly
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/camphor-/sculd
[INFO] finished tweaking git repo https://github.com/camphor-/sculd
[INFO] tweaked toml for git repo https://github.com/camphor-/sculd written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/camphor-/sculd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4126d898a8682f8e93651fdfc76358b6e1b994d7a2e81104cfa7506075ab3f4a
[INFO] running `Command { std: "docker" "start" "-a" "4126d898a8682f8e93651fdfc76358b6e1b994d7a2e81104cfa7506075ab3f4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4126d898a8682f8e93651fdfc76358b6e1b994d7a2e81104cfa7506075ab3f4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4126d898a8682f8e93651fdfc76358b6e1b994d7a2e81104cfa7506075ab3f4a", kill_on_drop: false }`
[INFO] [stdout] 4126d898a8682f8e93651fdfc76358b6e1b994d7a2e81104cfa7506075ab3f4a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow -Zunstable-options -wjson" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4fb90b46bceb3ff32495ec638b08d6129a59ed0527758682e154a6e92e972b5
[INFO] running `Command { std: "docker" "start" "-a" "d4fb90b46bceb3ff32495ec638b08d6129a59ed0527758682e154a6e92e972b5", kill_on_drop: false }`
[INFO] [stderr]     Checking getopts v0.2.15
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]     Checking tokio-sync v0.1.4
[INFO] [stderr]    Compiling unicase v2.3.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking num-integer v0.1.34
[INFO] [stderr]     Checking libc v0.2.50
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]    Compiling encoding_rs v0.8.17
[INFO] [stderr]     Checking serde_json v1.0.2
[INFO] [stderr]     Checking tokio-executor v0.1.6
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.15/src/lib.rs:1033:25
[INFO] [stdout]      |
[INFO] [stdout] 978  |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]      |                       ---------------------------------------- borrow of `state` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 982  |         state = match (state, whitespace, limit) {
[INFO] [stdout]      |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 1033 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]      |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 1034 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]      |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `getopts` due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d4fb90b46bceb3ff32495ec638b08d6129a59ed0527758682e154a6e92e972b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4fb90b46bceb3ff32495ec638b08d6129a59ed0527758682e154a6e92e972b5", kill_on_drop: false }`
[INFO] [stdout] d4fb90b46bceb3ff32495ec638b08d6129a59ed0527758682e154a6e92e972b5
